<?
require_once('library/Facebook.php');
require_once('dbConn/conn.mysql.php');

$facebook = new Facebook(array('appId' => '187884601256536',
			 'secret' => '66319d9fff5d46a3eb7c0d7f092bafcf',
			 'cookie' => true,
			 'fileUpload' => true));

$feedLimit = 3;
$commentfeed = 2;
if(is_null($facebook->getUser()))
{
	header("Location:{$facebook->getLoginUrl(array(‘req_perms’ => ‘user_status,publish_stream,user_photos’))}");
        exit;
}
?>
